package com.woniu.common.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.woniu.common.annotation.Excel;
import com.woniu.common.core.domain.BaseEntity;

/**
 * 非药品模版对象 dms_non_drug_model
 * 
 * @author ruoyi
 * @date 2024-10-21
 */
public class DmsNonDrugModel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 模版名称 */
    @Excel(name = "模版名称")
    private String name;

    /** 非药品ID列表 */
    @Excel(name = "非药品ID列表")
    private String nonDrugIdList;

    /** 范围 */
    @Excel(name = "范围")
    private Integer scope;

    /** 所有者ID */
    @Excel(name = "所有者ID")
    private Integer ownId;

    /** 目的 */
    @Excel(name = "目的")
    private String aim;

    /** 模版代码 */
    @Excel(name = "模版代码")
    private String code;

    /** 类型 */
    @Excel(name = "类型")
    private Integer type;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setNonDrugIdList(String nonDrugIdList) 
    {
        this.nonDrugIdList = nonDrugIdList;
    }

    public String getNonDrugIdList() 
    {
        return nonDrugIdList;
    }
    public void setScope(Integer scope) 
    {
        this.scope = scope;
    }

    public Integer getScope() 
    {
        return scope;
    }
    public void setOwnId(Integer ownId) 
    {
        this.ownId = ownId;
    }

    public Integer getOwnId() 
    {
        return ownId;
    }
    public void setAim(String aim) 
    {
        this.aim = aim;
    }

    public String getAim() 
    {
        return aim;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("status", getStatus())
            .append("name", getName())
            .append("nonDrugIdList", getNonDrugIdList())
            .append("scope", getScope())
            .append("ownId", getOwnId())
            .append("aim", getAim())
            .append("createTime", getCreateTime())
            .append("code", getCode())
            .append("type", getType())
            .toString();
    }
}
